package com.medical.literature.document;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClientsConfiguration;
import org.springframework.context.annotation.Import;

/**
 * 文献管理服务启动类
 */
@SpringBootApplication(scanBasePackages = "com.medical.literature")
@EnableEurekaClient
@EnableFeignClients
@MapperScan("com.medical.literature.document.mapper")
@Import(FeignClientsConfiguration.class)
public class DocumentServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(DocumentServiceApplication.class, args);
    }
}